package main.java.com.wen.entity;

public class UserCenter {
    private Integer id;

    private String username;

    private Integer password;

    private String sex;

    private Integer age;

    private String sdept;

    public UserCenter(){

    }

    public UserCenter(Integer id,String username,Integer password,String sex,Integer age,String sdept){
        this.id=id;
        this.username=username;
        this.password=password;
        this.sex=sex;
        this.age=age;
        this.sdept=sdept;
    }


    @Override
    public String toString(){
        return  "UserCenter{" +
                "id='"+id+'\''+
                ",username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", age='" + age + '\'' +
                ", sdepe='" + sdept + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Integer getPassword() {
        return password;
    }

    public void setPassword(Integer password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSdept() {
        return sdept;
    }

    public void setSdept(String sdept) {
        this.sdept = sdept == null ? null : sdept.trim();
    }
}